package entity

import "encoding/json"

type FeePlanGroupObject struct {
	Id        int64           `gorm:"column:id;primary_key" json:"id"`
	Detail    json.RawMessage `gorm:"column:detail;type:json;comment:套餐详情" json:"detail"`
	GroupId   int64           `gorm:"column:group_id;type:bigint;comment:套餐组ID" json:"group_id"`
	ObjectId  int64           `gorm:"column:object_id;type:bigint;comment:设备ID" json:"object_id"`
	CreatedAt int64           `gorm:"column:created_at;type:bigint;comment:创建时间" json:"created_at"`
	UpdatedAt int64           `gorm:"column:updated_at;type:bigint;comment:更新时间" json:"updated_at"`
}

func (f *FeePlanGroupObject) TableName() string {
	return "fee_plan_group_object"
}
